package com.cxria.pattern.responsibilityChain

class Father extends Handler {

    Father() {
        super(Handler.FATHER_LVEL_REQUEST)
    }

    @Override
    protected void response(IWomen women) {
        println '女儿向父亲请示'
        println women.request
        println '父亲的答复是:同意\n'
    }

}
